
#!/usr/bin/python3
# -*- coding: utf-8 -*-
'''
# @file   : Cartesian.py
# @author : weichy
# @date   : 2018/12/22
# @version: 2.0
# @desc   : BMR计算器
'''
def main():
    '''
    '''
    # 性别
    gender ='女'
    # 体重
    weidht = 70
    height= 175
    age = 25

    if gender =='男':
        bmr = 13.7* weidht + 5.0*height - 6.8*age + 66
    elif gender == '女':
        bmr = 9.6* weidht + 1.8*height - 4.7*age + 655
    else: 
        bmr = -1
    if bmr !=-1:
        print('基础代谢率（大卡）：', bmr)
    else:
        print('暂不支持该性别。')


if  __name__ == '__main__':
    main()